<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>

        // 基本数据类型
        let age = 20
        let name = 'John'
        let secondName = 'Cai'
        let isMarried = false

        // 进阶数据类型
        let names = ["Cai", age, secondName, isMarried]
        let info = ['Cai', 20, 'male']
        console.log(typeof info)

        let info2 = {'name': 'cai', 'age': 24, 'gender': 'male'}
        console.log(info2)
        console.log(typeof info2)
        console.log(typeof info2['name'])

    </script>

    <!--    <script  src = "demo.js"></script>-->

</head>
<body>


</body>
</html>